package com.unipay.hosp.service;

import com.unipay.model.hosp.Hospital;
import com.unipay.vo.hosp.HospitalQueryVo;
import com.unipay.vo.order.SignInfoVo;
import org.springframework.data.domain.Page;

import java.util.List;
import java.util.Map;

/**
 * @Project: yitong_parent
 * @Author: C.yu
 * @Time: 2023-04-02 21:28:46
 * @Desc: TODO
 */
public interface HospitalService {

    //参数使用Map，减少对象封装，有利于签名校验
    void save(Map<String, Object> paramMap);

    Page<Hospital> selPageHospptal(Integer page, Integer limit, HospitalQueryVo hospitalQueryVo);

    void updateStatus(String id, Integer status);

    Map<String, Object> showHospDetail(String id);

    String getHospName(String hoscode);

    List<Hospital> findByHosname(String hosname);

    Map<String, Object> getHospDetail(String hoscode);

    Hospital getByHoscode(String hoscode);

}
